<%@ page import="org.chenmin.Cate" %>



<div class="fieldcontain ${hasErrors(bean: cateInstance, field: 'info', 'error')} ">
	<label for="info">
		<g:message code="cate.info.label" default="Info" />
		
	</label>
	<g:textField name="info" value="${cateInstance?.info}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: cateInstance, field: 'name', 'error')} ">
	<label for="name">
		<g:message code="cate.name.label" default="Name" />
		
	</label>
	<g:textField name="name" value="${cateInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: cateInstance, field: 'parent', 'error')} required">
	<label for="parent">
		<g:message code="cate.parent.label" default="Parent" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="parent" name="parent.id" from="${org.chenmin.Cate.list()}" optionKey="id" required="" value="${cateInstance?.parent?.id}" class="many-to-one"/>
</div>

